.class public Lcom/waiqin365/lightapp/promotion/a/a;
.super Landroid/widget/BaseAdapter;


# instance fields
.field public a:Ljava/util/ArrayList;

.field private b:Landroid/content/Context;

.field private c:Lcom/waiqin365/lightapp/promotion/a/g;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/promotion/a/a;->a:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/promotion/a/a;)Lcom/waiqin365/lightapp/promotion/a/g;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/promotion/a/a;->c:Lcom/waiqin365/lightapp/promotion/a/g;

    return-object v0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/promotion/a/a;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public a(Lcom/waiqin365/lightapp/promotion/a/g;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/promotion/a/a;->c:Lcom/waiqin365/lightapp/promotion/a/g;

    return-void
.end method

.method public a(Ljava/util/ArrayList;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/promotion/a/a;->a:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/promotion/a/a;->notifyDataSetChanged()V

    return-void
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/promotion/a/a;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Ljava/lang/Object;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/promotion/a/a;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 10

    if-nez p2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0301eb

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p2

    new-instance v1, Lcom/waiqin365/lightapp/promotion/a/h;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/promotion/a/h;-><init>(Lcom/waiqin365/lightapp/promotion/a/a;)V

    invoke-virtual {p2, v1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    const v0, 0x7f0c0a21

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->a:Landroid/view/View;

    const v0, 0x7f0c0a22

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->b:Landroid/widget/ImageView;

    const v0, 0x7f0c0a23

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0a24

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->d:Landroid/widget/TextView;

    const v0, 0x7f0c0a25

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->e:Landroid/widget/TextView;

    const v0, 0x7f0c0a28

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->f:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0a29

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->g:Landroid/widget/TextView;

    const v0, 0x7f0c0a2a

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->h:Landroid/widget/FrameLayout;

    const v0, 0x7f0c0a2b

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->i:Landroid/widget/ImageView;

    const v0, 0x7f0c0a2c

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->j:Landroid/widget/TextView;

    const v0, 0x7f0c0a2d

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    const v0, 0x7f0c0a27

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->l:Landroid/view/View;

    const v0, 0x7f0c0a26

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    const v0, 0x7f0c0a2e

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->n:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0a2f

    invoke-virtual {p2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/promotion/a/h;->o:Landroid/view/View;

    move-object v3, v1

    :goto_0
    if-nez p1, :cond_1

    iget-object v0, v3, Lcom/waiqin365/lightapp/promotion/a/h;->a:Landroid/view/View;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/promotion/a/a;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/promotion/b/a;

    iget-object v1, v0, Lcom/waiqin365/lightapp/promotion/b/a;->i:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    if-lez v1, :cond_4

    const-string/jumbo v1, "0"

    iget-object v2, v0, Lcom/waiqin365/lightapp/promotion/b/a;->j:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->b:Landroid/widget/ImageView;

    const v2, 0x7f020335

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    iget-object v2, v0, Lcom/waiqin365/lightapp/promotion/b/a;->k:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    const/16 v2, 0xf5

    const/16 v4, 0x56

    const/16 v5, 0x4c

    invoke-static {v2, v4, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_2
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->d:Landroid/widget/TextView;

    iget-object v2, v0, Lcom/waiqin365/lightapp/promotion/b/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->e:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    const v4, 0x7f08066f

    invoke-virtual {v2, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v4, 0x3

    new-array v4, v4, [Ljava/lang/Object;

    const/4 v5, 0x0

    iget-object v6, v0, Lcom/waiqin365/lightapp/promotion/b/a;->f:Ljava/lang/String;

    aput-object v6, v4, v5

    const/4 v5, 0x1

    iget-object v6, v0, Lcom/waiqin365/lightapp/promotion/b/a;->g:Ljava/lang/String;

    aput-object v6, v4, v5

    const/4 v5, 0x2

    iget-object v6, v0, Lcom/waiqin365/lightapp/promotion/b/a;->b:Ljava/lang/String;

    aput-object v6, v4, v5

    invoke-static {v2, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/promotion/b/a;->h:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_5

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->g:Landroid/widget/TextView;

    iget-object v2, v0, Lcom/waiqin365/lightapp/promotion/b/a;->h:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->g:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_3
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->c:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->c:Landroid/widget/TextView;

    new-instance v2, Lcom/waiqin365/lightapp/promotion/a/b;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/promotion/a/b;-><init>(Lcom/waiqin365/lightapp/promotion/a/a;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    new-instance v2, Lcom/waiqin365/lightapp/promotion/a/c;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/promotion/a/c;-><init>(Lcom/waiqin365/lightapp/promotion/a/a;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, v0, Lcom/waiqin365/lightapp/promotion/b/a;->c:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_8

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    iget-object v1, v0, Lcom/waiqin365/lightapp/promotion/b/a;->c:Ljava/lang/String;

    const/16 v2, 0x2c

    invoke-static {v1, v2, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_7

    new-instance v5, Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v1

    invoke-direct {v5, v1}, Ljava/util/ArrayList;-><init>(I)V

    const/4 v1, 0x0

    move v2, v1

    :goto_4
    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_6

    new-instance v6, Ljava/util/HashMap;

    invoke-direct {v6}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "image_id"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string/jumbo v8, ""

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v1, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v7, "path"

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v8

    iget-object v9, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v8, v9, v1}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v6, v7, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v5, v6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_4

    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/promotion/a/h;

    move-object v3, v0

    goto/16 :goto_0

    :cond_1
    iget-object v0, v3, Lcom/waiqin365/lightapp/promotion/a/h;->a:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_2
    const-string/jumbo v1, "1"

    iget-object v2, v0, Lcom/waiqin365/lightapp/promotion/b/a;->m:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->b:Landroid/widget/ImageView;

    const v2, 0x7f020337

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_2

    :cond_3
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->b:Landroid/widget/ImageView;

    const v2, 0x7f020338

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    const v4, 0x7f080672

    invoke-virtual {v2, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v4, 0x2

    new-array v4, v4, [Ljava/lang/Object;

    const/4 v5, 0x0

    iget-object v6, v0, Lcom/waiqin365/lightapp/promotion/b/a;->i:Ljava/lang/String;

    aput-object v6, v4, v5

    const/4 v5, 0x1

    iget-object v6, v0, Lcom/waiqin365/lightapp/promotion/b/a;->l:Ljava/lang/String;

    aput-object v6, v4, v5

    invoke-static {v2, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    const/16 v2, 0x8a

    const/16 v4, 0x8a

    const/16 v5, 0x8a

    invoke-static {v2, v4, v5}, Landroid/graphics/Color;->rgb(III)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_2

    :cond_4
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->b:Landroid/widget/ImageView;

    const v2, 0x7f020336

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->m:Landroid/widget/TextView;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_2

    :cond_5
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->g:Landroid/widget/TextView;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_3

    :cond_6
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->i:Landroid/widget/ImageView;

    sget-object v2, Landroid/widget/ImageView$ScaleType;->CENTER_INSIDE:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/f;->a(Landroid/content/Context;)Lcom/fiberhome/gaea/client/d/f;

    move-result-object v2

    const/4 v1, 0x0

    invoke-virtual {v5, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/HashMap;

    const-string/jumbo v6, "path"

    invoke-virtual {v1, v6}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v2, v1}, Lcom/fiberhome/gaea/client/d/f;->b(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;

    move-result-object v1

    iget-object v2, v3, Lcom/waiqin365/lightapp/promotion/a/h;->i:Landroid/widget/ImageView;

    new-instance v6, Lcom/waiqin365/lightapp/promotion/a/d;

    invoke-direct {v6, p0, v3}, Lcom/waiqin365/lightapp/promotion/a/d;-><init>(Lcom/waiqin365/lightapp/promotion/a/a;Lcom/waiqin365/lightapp/promotion/a/h;)V

    invoke-virtual {v1, v2, v6}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;Lcom/squareup/picasso/Callback;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->j:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    const v6, 0x7f080671

    invoke-virtual {v2, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v6, 0x1

    new-array v6, v6, [Ljava/lang/Object;

    const/4 v7, 0x0

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v6, v7

    invoke-static {v2, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->h:Landroid/widget/FrameLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->h:Landroid/widget/FrameLayout;

    new-instance v2, Lcom/waiqin365/lightapp/promotion/a/e;

    invoke-direct {v2, p0, v5}, Lcom/waiqin365/lightapp/promotion/a/e;-><init>(Lcom/waiqin365/lightapp/promotion/a/a;Ljava/util/ArrayList;)V

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_5
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->h:Landroid/widget/FrameLayout;

    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getVisibility()I

    move-result v1

    const/16 v2, 0x8

    if-ne v1, v2, :cond_9

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->g:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->getVisibility()I

    move-result v1

    const/16 v2, 0x8

    if-ne v1, v2, :cond_9

    iget-object v0, v3, Lcom/waiqin365/lightapp/promotion/a/h;->l:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, v3, Lcom/waiqin365/lightapp/promotion/a/h;->f:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_6
    return-object p2

    :cond_7
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->h:Landroid/widget/FrameLayout;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto :goto_5

    :cond_8
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->h:Landroid/widget/FrameLayout;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto :goto_5

    :cond_9
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->l:Landroid/view/View;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->f:Landroid/widget/LinearLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/promotion/b/a;->n:Z

    if-eqz v1, :cond_a

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->f:Landroid/widget/LinearLayout;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    const v4, 0x7f08066c

    invoke-virtual {v2, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    const/4 v2, 0x0

    const/4 v4, 0x0

    const v5, 0x7f020333

    const/4 v6, 0x0

    invoke-virtual {v1, v2, v4, v5, v6}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    :goto_7
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    new-instance v2, Lcom/waiqin365/lightapp/promotion/a/f;

    invoke-direct {v2, p0, v0, v3}, Lcom/waiqin365/lightapp/promotion/a/f;-><init>(Lcom/waiqin365/lightapp/promotion/a/a;Lcom/waiqin365/lightapp/promotion/b/a;Lcom/waiqin365/lightapp/promotion/a/h;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_6

    :cond_a
    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->f:Landroid/widget/LinearLayout;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/promotion/a/a;->b:Landroid/content/Context;

    const v4, 0x7f08066e

    invoke-virtual {v2, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, v3, Lcom/waiqin365/lightapp/promotion/a/h;->k:Landroid/widget/TextView;

    const/4 v2, 0x0

    const/4 v4, 0x0

    const v5, 0x7f020332

    const/4 v6, 0x0

    invoke-virtual {v1, v2, v4, v5, v6}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    goto :goto_7
.end method
